﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VINETLIFE;
using VINETLIFE.BL;

namespace VINETLIFE.Module
{
    public partial class ucVnAboutVinetlife : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
                rptVinetlifeDataSource();
        }
        private void rptVinetlifeDataSource()
        {
            rptVinetlife.DataSource = new cmsCategoryBL().SelectByParent(25);
            rptVinetlife.DataBind();
        }
        protected string FriendlyUrl(string strTitle)
        {
            return Ultility.Change_AV(strTitle);
        }
    }
}